//----------------------------------------------------------------
#include "GameScene.h"
//----------------------------------------------------------------
GameScene::GameScene ()
{
}
//----------------------------------------------------------------
GameScene::~GameScene ()
{
}
//----------------------------------------------------------------
bool GameScene::onInit (Importer* pkImporter, Renderer* pkRenderer)
{
	for(int i=0; i < 30; i++)
	{
		Boid kBoid(SVector2D(RandInt(-400,400), RandInt(-300, 300)),3.0,0.05, this);
		m_kFlock.AddBoid(kBoid);
	}
	return true;
}
//----------------------------------------------------------------
bool GameScene::onUpdate (float fTimeBetweenFrames)
{
	m_kFlock.Run();
	return true;
}
//----------------------------------------------------------------
void GameScene::onDraw (Renderer* pkRenderer) const
{
}
//----------------------------------------------------------------
bool GameScene::onDeinit ()
{
	return true;
}
//----------------------------------------------------------------
